package com.michael.demo.springcloud.alibaba.seata.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.michael.demo.springcloud.alibaba.seata.order.entity.Order;
import com.michael.demo.springcloud.alibaba.seata.order.mapper.OrderMapper;
import com.michael.demo.springcloud.alibaba.seata.order.service.OrderService;
import org.springframework.stereotype.Service;

/**
 * 类功能描述:
 * <pre>
 *   xxxx
 * </pre>
 *
 * @author Michael
 * @version 1.0
 * @date 2021/04/01 16:44
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {

    @Override
    public boolean order(Order order) {
        //return baseMapper.insert(order);
        return order.insert();
    }

}
